I have been running into this problem and maybe the best solution is not to use the awful built in DXL editor. But whenever their is a connection loss to the doors database it closes the DXL interaction window automatically without a prompt to save the code. Which has ended up in me losing 15-20 minutes of coding numerous times. |
Re: Lose connection to database = close dxl window automatically I notice that if you use a Text editor, you will of course save before Run, otherwise you get the old code. For any advanced text editor, better than Notepad, its far better to develop in the Editor and simply "#include" the file from the DXL window. Others here argue in favor of using the slick Editor to "send" the file to DOORS and "retrieve" the results, but I find that its easier to place the correct context with the DXL window (e.g. from the specific open module with the specific object already selected). And because I'm pretty much set in my ways.
I use the #include for any code that I may remotely want to save. I edit a "temp.dxl" file and #include it, and protect myself from the numerous exception violations I seem to get. |
Re: Lose connection to database = close dxl window automatically Using this you can start DOORS scripts and catch the results directly out of the editor. |